package com.wangxin.study8.functional;

/**
 * @author jojo.wang
 * @title: FunctionalTest
 * @projectName http-invoke
 * @description: TODO
 * @date 2019/3/1314:16
 */

public class FunctionalTest {
    public static void main(String[] args) {
        Converter<String,Integer> converter = (from)->Integer.valueOf(from);
        Converter<String,Integer> cc = Integer::valueOf;
        Integer a = converter.convert("666");
        Integer b = cc.convert("888");
        System.out.println(a.getClass());
        System.out.println(b.getClass());
    }
}
